#include "csapp.h"
int main(int argc,char **argv){
	int fd1,fd2; char ch;
	fd1=open("foolbar.txt",O_RDONLY,0);
	fd2=open("foolbar.txt",O_RDONLY,0);
	read(fd2,&ch,1);
	//dup2(fd2,fd1);
	read(fd1,&ch,1);
	printf("The output char is %c\n",ch);
	exit(0);
}
